<?php // var_dump($artisaward);?>
<?php $this->load->view('admin/common/pageHead');?>
<?php $this->load->view('admin/common/pageHeader');?>
<div class="clr">
	<div>
		<div class="fLeft">
			<?php $this->load->view('admin/common/left_nav'); ?>
		</div>

		<div class="fRight" style="width: 800px; backgroung-color: red;">
			<table valign="top" cellpadding="0" cellspacing="0" class="allbdr"
				border="0" width="807" style="">
				<tr class="fotter-color">
					<td colspan="11" align="center"><b>Manage User Of ArtDex</b></td>
				</tr>
				<tr class="fotter-color">
					<td>Sr-No</td>
					<td width="100px">Name</td>
					<td width="150px">City</td>

					<td width="80">State</td>

					<td width="100">country</td>
					<td width="90">status</td>

					<td width="100"></td>

					<td width="150" align="left">Action</td>
				</tr>

				<?php  foreach ($user as $temp => $admin){?>
				<tr>
					<td><?php  echo $temp+1;?></td>
					<td><?php echo $admin['name'];?></td>
					<td><?php echo ucfirst($admin['city']);?></td>


					<td><?php echo ucfirst($admin['state']);?></td>
					<td><?php echo ucfirst($admin['country']);?></td>
					<td><?php echo ucfirst($admin['status']);?></td>

					<td width="45" align="center" bgcolor=""><a
						href="/edituser/<?php echo $admin['user_id'];?>"
						style="text-decoration: none;"> <img src="/public/images/edit.png"
							name="edit" border="0" value="Edit">
					</a>&nbsp;&nbsp;</td>
					<td width="49" align="center"><a href="javascript:void(0);"
						onClick="del(<?php echo $admin['user_id'];?>)" Title="Delete User"
						style="text-decoration: none;"> <img
							src="/public/images/delete.png" width="16" height="16" border="0">
					</a>
					</td>
				</tr>
				<?php }?>


			</table>
		</div>
	</div>
</div>
<div class="clr"></div>
<script language="javascript">
function del(id)
{
	if(confirm("Do you want to Delete This User"))
	{
		document.location="/deleteuser.php/"+id;
	} else{
		document.location="/customer.php";
	}
}
</script>
<?php 
// var_dump($category);
?>

<?php $this->load->view('admin/common/pageFooter');?>

